home *** CD-ROM | disk | FTP | other *** search
/ Wonky Flux Batch 2019 02 / Wonky_Flux_Batch_2019-02.zip / Wonky Flux Batch 2019-02 / 024 - Big U Macroworks.dsk / MACROS.AWP.txt < prev    next >
Text File  |  2019-02-16  |  8KB  |  123 lines

  1. NOTE: The token <Ctrl> has been added. It isn't on page 17 of the manual, or on any other pages, for that matter. See the examples near the end of this macro table.
  2.  
  3. The manual wrongly refers to <Rtn> as <Ret> in a couple of places.
  4.  
  5. Macros can now "call" temporary macros. See macros T and X.
  6.  
  7. During a temporary macro, you can press Control-T to enter the equivalent of a <key> token. AppleWorks will beep, but when the macro is called again, it will pause for a keystroke.
  8.  
  9. In a MACROS. file, text can wrap around from one line to another, but reserved words such as <rtn> must be entirely on the same line. Macros from page 19 of the manual are included here, along with some other bonus macros.
  10.  
  11. Never save the file with page breaks visible. It won't compile properly.
  12.  
  13. If a macro file like this one has too many comments, the compiler may not be able to load it. The maximum size is about 13K.
  14.  
  15. Macro                                  Comment
  16. -----                                  -------
  17. START
  18. <left>:<oa-tab><oa-tab><sa-left>|      jump to beginning of line
  19. <right>:<sa-left><down><left>|         jump to end of line
  20. <up>:<up><sa-up>|                      cursor up 12 lines; used by sa-(
  21. <down>:<oa-F>ONP<rtn>|                 find next forced page break (NP)
  22. <rtn>:<oa-O>NP<rtn><esc>|              insert page break
  23. <tab>:<tab><tab><sa-tab>|              jump to far right margin
  24. <spc>:<oa-E> <oa-E><left>|             insert space from strike-over mode
  25. A:<oa-Q><esc><rtn><rtn>|               add files to desktop
  26. B:<right><oa-left><Ctrl-B><oa-right><left><Ctrl-B>|boldface word at cursor
  27. C:<oa-O>CN<rtn><esc>|                  center text
  28. D:<right><oa-left><oa-M>T<oa-right><left><Rtn>| delete word under cursor
  29. E:<oa-1><down><down><oa-O>lm<Rtn>0<Rtn><Esc>Bryan Ross<Rtn>3624 Bogus Dr.<Rtn>Lakeside, CA  92040<Rtn><Rtn><Rtn><Rtn><Rtn><Rtn><oa-O>lm<Rtn>
  30. 3<Rtn><Esc><Down><Down><Down><Down><oa-O>PH<Rtn><Esc><oa-1><down><Down>
  31. <oa-p>C<rtn><rtn><esc><oa-1><oa-Z><down><Down><oa-D><Down><Down><Down>
  32. <Down><Down><Down><Down><Down><Down><Rtn><oa-F>oph<Rtn><Rtn><oa-D><Rtn>
  33. <oa-z><oa-1>| envelope macro; see the end of this file for details
  34. F:<oa-F>T<oa-Y>|                       find text, clear previous word
  35. G:<oa-F>M1<rtn>|                       go to marker 1 (set with sa-M)
  36. H:<sa-left><oa-up>|                    home to top left of screen
  37. I:<oa-O>IN<rtn>3<rtn><esc>|            indent 3 characters
  38. J:<oa-O>JU<rtn><esc>|                  justify both sides
  39. K:<oa-K><rtn><oa-F>P|                  calculate page breaks; find a page
  40. L:<oa-O>UJ<rtn><esc>|                  left justify only (cancel centering)
  41. M:<oa-O>SM<rtn>1<rtn><esc>|            set marker 1 (find with sa-G)
  42. N:<rtn>MacroWorks V2.5<rtn>Copyright (c) 1986, Randy Brandt<rtn>Beagle Bros, Inc.<rtn>|
  43. O:<oa-O>IN<rtn>0<rtn><esc>|            indent 0
  44. P:<oa-P><rtn><rtn><rtn>|               print current file
  45. Q:<oa-Q><down><rtn>|                   switch to next file on desktop
  46. R:<oa-F>O<key><key><rtn><rtn><sa-del><oa-O><key><key><rtn><esc>| replace printer option 
  47. S:<oa-S><esc>4<rtn><rtn><oa-Q><rtn>|   save and remove a file
  48. T:Start 1<rtn><sa-1><rtn>End 1|        call a temporary macro
  49. U:<oa-C>F|                             undo last MacroWorks delete
  50. V:A very large amount of useless text can be generated by one macro.<Rtn>|
  51. W:<oa-left><oa-M>W<oa-right><left><rtn><oa-right><oa-right><rtn><left>|
  52.   swap the words on either side of the cursor
  53. X:<oa-1><oa-C>T<oa-9><rtn><esc><rtn>3<rtn><rtn><sa-5><rtn><sa-U><oa-Q>|
  54.      make extra copy of the current file; name it whatever is in macro 5
  55. Y:<sa-left><oa-M>T<down><left><rtn>|   delete current line
  56. Z:<oa-M>T<oa-9><rtn><left>|            delete (zap) to end of file
  57. +:<oa-O>+B<rtn>+E<rtn><esc><left>|     insert superscript codes
  58. -:<oa-O>-B<rtn>-E<rtn><esc><left>|     insert subscript codes
  59. $:<sa-S><sa-$>|                        save all desktop files
  60. ^:<sa-P><sa-S><sa-^>|                  print and save all desktop files
  61. (:<oa-O>SM<rtn>1<Rtn><Esc><Oa-9><oa-up><sa-Up><Key><oa-F>M1<rtn><rtn><oa-D>
  62. <Rtn>|  set a marker, jump to last page of AWP file, wait for a key (use arrow key), return to marker and delete it. Keep copies of temporary text macros at the end of the file and use this when you forget which word goes with which macro
  63. <Ctrl-A>:AppleWorks|                   handy for us, if not for you
  64. <Ctrl-L>:<oa-Q><Esc>5<Rtn>2<Rtn>|      list all files on the current drive
  65. <Ctrl-S>:<oa-o><Key>S<Rtn><Esc>|       set line spacing s,d or t
  66. END
  67.  
  68. System Macros (can't be recompiled)
  69. -------------
  70. <del>:<right><del>|                    oa-del works the same as sa-del
  71.  
  72. The numbers 0 through 9 are redefinable from within AppleWorks for up to 70 key strokes each.
  73.  
  74. More  ideas for the Spreadsheet
  75. -------------------------------
  76. <ctrl-A>:<oa-A><oa-9><rtn><rtn>|       alphabetical spreadsheet column sort
  77. <ctrl-N>:<oa-A><oa-9><rtn>3<rtn>|      numerical spreadsheet column sort
  78. H:<oa-F>C<oa-Y>A1<rtn>|                home to top left of spreadsheet
  79. <ctrl-L>:<oa-L><rtn>L|                 change spreadsheet entry layout
  80. S:<oa-L>C<rtn>C<oa-left><oa-left><oa-left><oa-left><oa-left><oa-left>
  81. <oa-left><oa-left>|     shrink a spreadsheet column; change the <oa-left>'s to <oa-right>'s to expand a spreadsheet column; the macro ends without a <Rtn> so you can make adjustments before accepting the new width
  82.  
  83.  
  84. Brilliant Ideas from MacroWorks Users
  85. -------------------------------------
  86. <Ctrl-P>:<oa-Q><Esc>5<Rtn>7<Rtn>3<Rtn><Up><Rtn>2<Rtn><Up><Rtn>Printer Name<Rtn>| drop last printer on list and add a new custom printer; finish this macro by adding your appropriate printer codes. Duplicate this macro to make as many custom printers as you need
  87.  
  88. B:<oa-1><oa-r>C<oa-y>#B<rtn><rtn><rtn>Y<rtn><oa-o>bb<rtn><esc><sa-b>| this macro will replace boldface printer codes (#B) from an ASCII text file with the proper AppleWorks boldface code
  89.  
  90.  
  91. Envelope Addresser Macro                    by Randy Brandt (June 28, 1986)
  92. =========================
  93. NOTE: USE THIS MACRO WHEN ZOOM (OA-Z) IS OFF AND THE INSERT CURSOR IS ACTIVE!
  94. The first 6 lines of the AWP file must be set up like this:
  95.  
  96. July 4, 1776        ; line 1- date or anything else
  97.                     ; line 2
  98. Matt Reimer         ; line 3- address starts here
  99. Graphics Software   ; line 4
  100. 68000 Chip Way      ; line 5- optional last line of address
  101. Lakeside, CA 92040  ; line 6- last line printed
  102.                     ; line 7- don't care what's from here on
  103. Dear Matt,          ; line 8
  104.  
  105. Press SA-E from anywhere in the file to address an envelope on the current printer. The address can be 3 or 4 lines. Customize the macro with the desired margin settings and names.
  106.  
  107. Envelope Macro Analysis
  108. E:<oa-1><down><down>                         ; skip date
  109. <oa-O>lm<Rtn>0<Rtn><Esc>                     ; set margin for rtn address
  110. Bryan Ross<Rtn>3624 Bogus Dr.<Rtn>           ; rtn address name & street
  111. Lakeside, CA  92040<Rtn>                     ; rtn city & state
  112. <Rtn><Rtn><Rtn><Rtn><Rtn>                    ; total of 8 rtn's to address
  113. <oa-O>lm<Rtn>3<Rtn><Esc>                     ; set margin for address
  114. <Down><Down><Down><Down>                     ; move past 4-line address
  115. <oa-O>PH<Rtn><Esc>                           ; set Pause Here
  116. <oa-1><down><Down>                           ; skip date
  117. <oa-p>C<rtn><rtn><esc>                       ; print from cursor
  118. <oa-1><oa-Z><down><Down>                     ; skip date
  119. <oa-D><Down><Down><Down><Down><Down>         ; delete return address
  120. <Down><Down><Down><Down><Rtn>                ; 9 downs = 8 Rtn's + 1
  121. <oa-F>oph<Rtn><Rtn><oa-D><Rtn>               ; delete Pause Here
  122. <oa-z><oa-1>|                                ; we're done!
  123.